package com.spm.librarianmanagersystem.mapper;

import com.spm.librarianmanagersystem.pojo.Borrow;
import com.spm.librarianmanagersystem.pojo.Reservation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.sql.Date;
import java.util.List;
/**
 *  @Class: NotificationsMapper
 *  @Author: Wu Yue
 *  @Time: 18:57 2022/4/4
 *  @Description:
 */
@Mapper
@Repository
public interface NotificationsMapper {

    public List<Reservation> getReservationTimeOutCancelNotice(String userId, Date date);
    public List<Borrow> getBorrowTimeOutMessage(String userId, Date date);
    public List<Reservation> getCanBorrowBook(String userId, Date date);
}
